package com.stepshop.wechat.thread;

public class SynTimer2 implements Runnable {

	@Override
	public void run() {
		System.out.println("timer2:start.......");
		synchronized (OnlyPatnerSynLocker.getLocker()) {
			for(int i=0;i<100;i++){
				System.out.println("timer2:"+i);
				try {
					Thread.currentThread().sleep(500);
				} catch (InterruptedException e) {
					e.printStackTrace();
				}
			}
		}
	}

}
